<?php

namespace app\admin\validate;

use think\Validate;

class SysDictType extends Validate
{

    protected $rule = [
        'dict_name'=> 'require',
        'dict_type'=> 'require',
        'status'=>["require","in"=>"0,1"]
    ];

    protected $message = [
        'dict_name'=> '字典名称必须',
        'dict_type'=>'字典类型必须',
        'status.require'=>'状态必须',
        'status.in'=>'状态数值错误',
    ];
}
